2-stage least-squares estimation of average causal effects in models with variable treatment intensity